/*
 * @Author: Lixuhan
 * @Date: 2023-08-05 01:48:16
 * @LastEditTime: 2023-08-05 17:56:04
 * @LastEditors: Lixuhan
 */
import { axios } from '@/utils/request'

/**
 * 获取区域
 *
 * @author gyp
 * @date 2023-08-03 22:48:06
 */
export function proviceList (parameter) {
  return axios({
    url: '/area/spiderArea/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 获取子品牌和车系
 *
 * @author gyp
 * @date 2023-08-03 22:48:06
 */
export function subBrandList (parameter) {
  return axios({
    url: '/car/carSubBrand/list',
    method: 'get',
    params: parameter
  })
}
/**
 * 获取车型
 *
 * @author gyp
 * @date 2023-08-03 22:48:06
 */
export function modelList (parameter) {
  return axios({
    url: 'car/carModel/list',
    method: 'get',
    params: parameter
  })
}
